/**
 * 
 */
package com.study.handler.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.study.handler.GateWayHandler;
import com.study.handler.service.GateWayHandlerService;

/**
 * @author Administrator
 * @date 2019年5月11日
 */
@RestController
public class HandlerController {

	@Autowired
    private GateWayHandlerService gateWayHandlerService;

    @RequestMapping("/client")
    public String client() {
//        GatewayHandler gatewayHandler = FactoryHandler.getGatewayHandler();
//        gatewayHandler.service();
    	
    	
        gateWayHandlerService.getHandlers().process();
        
        return "success";
    }
	
}
